<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<ul>
				<li v-for='(item,index) in newsList' :key='index'>
					{{item.title}},{{item.time}}
				</li>
			</ul>
		</div>
		<script src="../vue.js"></script>
		<script>
			new Vue({
				el:'#app',
				data(){
					return {
						newsList:[
							{title:'新闻1',time:'0520'},
							{title:'新闻2',time:'0520'},
							{title:'新闻3',time:'0520'}
						]
					}
				}
			})
		</script>
	</body>
</html>
